﻿#include "ObjectInterface.h"
#include "Reflection/InterfaceImplement.h"
CInterface * CreateObjectInterfaceType()
{
    auto Interface=new TInterface<IObjectInterface>(
        STypeID(CType::GetEngineCoreNamespace()+U"::IObjectInterface",true),
        ETypeFlags::None,
        nullptr
    );
    return Interface;
}

CInterface * GetType()
{
    static CInterface * Type=CreateObjectInterfaceType();
    return Type;
}

static uint8_t RegisterObjectInterface=(GetType(),0);

CInterface *IObjectInterface::StaticInterface()
{
    return GetType();
}

CInterface *IObjectInterface::GetInterface()
{
    return GetType();
}
